<?php
header("Content-type: text/html; charset=utf-8"); 
include_once 'Snoopy.class.php';
$snoopy = new Snoopy();
$snoopy ->fetchlinks("http://www.ijquery.cn");
print_r($snoopy->results);